﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using Medical.Business;

public partial class control_TopArticle : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            //最新文章
            DataTable dtArticle =new BisArticle().GetTopArticle(12);

            rptArticle.DataSource = dtArticle;
            rptArticle.DataBind();
        }
    }
}